﻿@{
    ViewBag.Title = "Continue Test";
    Layout = "~/Areas/Student/Views/Shared/_Layout.cshtml";
}
<div class="matter">
    <div class="container">
        <div class="row" >
            <div class="col-md-12" style="flex-align:center;">
                <div class="widget">
                    <div class="widget-head">
                        <div class="pull-left">@ViewBag.TestName</div>
                        <div class="clearfix"></div>
                    </div>
                    <div class="widget-content">
                        <div class="form-horizontal" role="form">
                            <div class="form-group">
                                <label class="col-lg-3 control-label" style="text-align: right">Subject :</label>
                                <div class="col-lg-5">
                                    <label class="control-label" style="font-size:16px;">@ViewBag.SubjectName </label>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label" style="text-align: right">Topic :</label>
                                <div class="col-lg-5">
                                    <label class="control-label" style="font-size:16px;">@ViewBag.TopicName</label>
                                </div>
                            </div>                           
                        </div>
                          <div class="clearfix"></div>
                        <div class="form-vertical" role="form">
                             <div class="form-group">
                                <label class="col-lg-3 control-label" style="text-align: right">Duration :</label>
                                <div class="col-lg-2">
                                    <label class="control-label" style="font-size:16px;">@ViewBag.Duration MINUTE</label>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label" style="text-align: right">Total Marks :</label>
                                <div class="col-lg-2">
                                    <label class="control-label" style="font-size:16px;">@ViewBag.outoff</label>
                                </div>
                        </div>
                        <div class="clearfix"></div>
                        <div class="form-vertical" role="form">
                            <div class="form-group">
                                <label class="col-lg-3 control-label" style="text-align: right">Total Question :</label>
                                <div class="col-lg-2">
                                    <label class="control-label" style="font-size:16px;">@ViewBag.TotalQ</label>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label" style="text-align: right">Negative Mark :</label>
                                <div class="col-lg-3">
                                    <label class="control-label" style="font-size:16px;color:red;">@ViewBag.Nagetive</label>
                                </div>
                            </div>
                        </div>
                        <div class="clearfix"></div>
                        <div class="form-vertical" role="form">
                            <div class="form-group">
                                <label class="col-lg-3 control-label" style="text-align: right">Passing Score :</label>
                                <div class="col-lg-2">
                                    <label class="control-label" style="font-size:16px;"><b>@ViewBag.passScore  %</b></label>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label" style="text-align: right">Positive Mark :</label>
                                <div class="col-lg-3">
                                    <label class="control-label" style="font-size:16px;">@ViewBag.Positive</label>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="clearfix"></div>
                    <div class="form-vertical" role="form">
                         <hr />
                        <div class="form-group">
                            <div class="col-lg-3"></div>
                            <div class="pull-right col-lg-3">
                                <a href="#" id="StartTest" class="btn btn-sm btn-success" style="height: 100%; width: 100%; text-align: center;"><i class="fa fa-thumbs-o-up"></i><b>Start Test</b></a>
                            </div>
                              <div class="clearfix"></div>
                        </div>                       
                    </div>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12">
            <div class="widget">
                <div class="widget-head">
                    <div class="pull-left">Instruction</div>
                    <div class="clearfix"></div>
                </div>
                <div class="widget-content">
                    <div class="form-horizontal" role="form">
                        <div class="form-group">
                            <div class="col-lg-1"></div>
                            <label class="control-label" style="text-align: right">
                                <i class="fa fa-tag"></i> Each question has between 2 and 4 options.
                            </label>
                        </div>
                        <div class="form-group">
                            <div class="col-lg-1"></div>
                            <label class="control-label" style="text-align: right">
                                <i class="fa fa-tag"></i> Each question must be answered in the time limit shown at the top of the test window.
                            </label>
                        </div>
                        <div class="form-group">
                            <div class="col-lg-1"></div>
                            <label class="control-label" style="text-align: right">
                                <i class="fa fa-tag"></i> The test is best viewed using Internet Explorer 6.0+, Mozilla Firefox 2.0+ or Google Chrome.
                            </label>
                        </div>
                        <div class="form-group">
                            <div class="col-lg-1"></div>
                            <label class="control-label" style="text-align: right">
                                <i class="fa fa-tag"></i>  You must answer each question before proceeding to the next question. 
                            </label>
                        </div>
                        <div class="form-group">
                            <div class="col-lg-1"></div>
                            <label class="control-label" style="text-align: right">
                                <i class="fa fa-tag"></i> If you leave the test midway through your session, you can resume it where you left off by returning to this page.
                            </label>
                        </div>
                        
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
@section scripts{
    <script type="text/javascript">
        $(document).ready(function () {
            $('#h2Title').html("<i class='fa fa-arrow-right'></i> Continue Tests");
            $('#aTitle').html('<a href="./index/">Available Test /</a>' + "Countinue Tests");
            $('#liAvailable').addClass("open");
            $("#StartTest").click(function () {
                window.location = "/Student/Available/StartTest?TestID=" + '@ViewBag.TestID';
            });
        });
    </script>
}
